package info.xmlprint.action.exp;

import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard;

public class ExportPDF extends BasicNewResourceWizard {
	private BasicExportPage mainPage;

	public void addPages() {
		mainPage = new BasicExportPage(getSelection());
		mainPage.setDescription("Please enter a destination PDF file.");
		mainPage.setTitle("PDF File");
		mainPage.setExportDialogTitle("Export to PDF File");
		mainPage.setFilterExtension(new String[] { "*.pdf" });//$NON-NLS-1$
		addPage(mainPage);  
	}
	
	 
	public boolean performFinish() {
		if (!mainPage.validExportFile()) {
			return false;
		}
		// TODO: we need satzengine
		return true;

	}

}